#define _CRT_SECURE_NO_WARNINGS 1
#include"binarytree.h"

int main()
{
	BTNode* root = BTCreat();


	PrevOrder(root);
	printf("\n");
	InOrder(root);
	printf("\n");
	PostOrder(root);
	printf("\n");

	printf("%d\n",BTSize(root));
	printf("%d\n", BTHeight(root));

	printf("%d\n", BTKLevel(root,3));

	BTDestroy(root);

	
	return 0;
}